import { createRouter, createWebHistory } from 'vue-router'
import home from '@/views/mainHome.vue'
import appIndex from '@/views/appIndex.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: home,
    },
    {
      path: '/appIndex',
      name: 'appIndex',
      component: appIndex,
    },
    // {
    //   path: '/login',
    //   name: 'login',
    //   component: () => import('@/views/login.vue'),
    // },
  ],
})

export default router
